package com.tedu.checkIn.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class RecordVO {
    @ApiModelProperty(value = "入住管理表id")
    Integer id;
    @ApiModelProperty(value = "老人姓名")
    String username;
    @ApiModelProperty(value = "床位id")
    Integer bedId;
    @ApiModelProperty(value = "入住类型")
    String type;
    @ApiModelProperty(value = "床位名称")
    String bedName;
    @ApiModelProperty(value = "入住状态")
    String status;
    @ApiModelProperty(value = "审核状态")
    String reviewStatus;
    @ApiModelProperty(value = "入住时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    Date checkInTime;
    @ApiModelProperty(value = "退院时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    Date checkOutTime;
}
